<?php
$this->breadcrumbs=array(
	'Users',
);

$this->menu=array(
array('label'=>'Create User', 'url'=>array('create')),
array('label'=>'Manage User', 'url'=>array('admin')),
);
?>
<div
	class="wrapper">
	<section class="column width6 first"> <?php $this->widget('zii.widgets.grid.CGridview', array(
    'id'=>'uerdatagrid',
	'dataProvider'=>$dataProvider,
    'ajaxUpdate'=>array('#uerdatagrid'),
    'columns'=>array(
        'id',
        'username',
        'useremail',
        'created',
	array(            // display a column with "view", "update" and "delete" buttons
            'class'=>'CButtonColumn',
	),
	),
    'showTableOnEmpty'=>true,
    'summaryCssClass'=>'gridsummary',
    'summaryText'=>'共{count}条记录,分为{pages}页,当前为第{page}页',
    'cssFile'=>false,
	)); ?> </section>
	<!-- Right column/section -->
	<aside class="column width2">
	<div id="rightmenu">
		<header>
		<h3>Your Account</h3>
		</header>
		<dl class="first">
			<dt>
				<img width="16" height="16" alt=""
					SRC="<?php echo Yii::app()->theme->baseUrl?>/manager/img/key.png">
			</dt>
			<dd>
				<a href="#">Administry (admin)</a>
			</dd>
			<dd class="last">Free Account.</dd>

			<dt>
				<img width="16" height="16" alt=""
					SRC="<?php echo Yii::app()->theme->baseUrl?>/manager/img/help.png">
			</dt>
			<dd>
				<a href="#">Support</a>
			</dd>
			<dd class="last">Documentation and FAQ</dd>
		</dl>
	</div>
	<div class="content-box">
		<header>
		<h3>Latest in the Community</h3>
		</header>
		<section>
		<dl>
			<dt>Maximize every interaction with a client</dt>
			<dd>
				<a href="#">Read more</a>
			</dd>
			<dt>Diversification for Small Business Owners</dt>
			<dd>
				<a href="#">Read more</a>
			</dd>
		</dl>
		</section>
	</div>
	</aside>
	<!-- End of Right column/section -->
</div>
